package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.WwEnterpriseBlacklist;
import com.xjscrm.console.param.list.EnterpriseBlackListQuery;
import com.xjscrm.console.vo.WwEnterpriseBlacklistVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EnterpriseBalckListMapper {
    void addWwEnterpriseBlacklist(WwEnterpriseBlacklist wwEnterpriseBlacklist);

    List<WwEnterpriseBlacklistVo> getEnterpriseBlackList(EnterpriseBlackListQuery enterpriseBlackListQuery);

    int deleById(@Param("id") Long id, @Param("merId") Long merId);

}
